package com.sky.entity;

/**
 * @Author 褚金龙
 * @Date 2024/9/24 15:52
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 购物车
 */
@ApiModel(description = "购物车信息")
@Data
public class ShoppingCart implements Serializable {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("商品图片路径")
    private  String image;
    @ApiModelProperty("用户id")
    private  Long  userId;
    @ApiModelProperty("菜品id")
    private  Long dishId;
    @ApiModelProperty("套餐id")
    private  Long setmealId;
    @ApiModelProperty("菜品口味")
    private String dishFlavor;
    @ApiModelProperty("商品数量")
    private Integer number;
    @ApiModelProperty("商品单价")
    private BigDecimal amount;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
